package com.atguigu.tingshu.album.mapper;

import com.atguigu.tingshu.model.album.TrackStat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TrackStatMapper extends BaseMapper<TrackStat> {


    /**
     * 更新专辑统计数据接口
     * @param trackId
     * @param statType
     * @param count
     */
    void updateTrackStat(@Param("trackId") Long trackId,@Param("statType") String statType,@Param("count") Integer count);
}
